From: Richard M. Stallman Date: Sun, 8 Apr 2007 23:59:19 +0000 (+0000) Subject: (Fmove_to_column): Set next_boundary with correct start pt. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~1007 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3d568cdd6be0e0c8dce3dfd5d64f32bbbf6647a3;p=emacs.git (Fmove_to_column): Set next_boundary with correct start pt. --- diff --git a/src/indent.c b/src/indent.c index 828267c3abf..b43120ab560 100644 --- a/src/indent.c +++ b/src/indent.c @@ -951,7 +951,6 @@ The return value is the current column. */) pos = PT; pos_byte = PT_BYTE; end = ZV; - next_boundary = pos; /* If we're starting past the desired column, back up to beginning of line and scan from there. */ @@ -963,6 +962,8 @@ The return value is the current column. */) col = 0; } + next_boundary = pos; + while (pos < end) { while (pos == next_boundary)